package com.sxkf.template.controller;

import com.sxkf.core.api.vo.R;
import com.sxkf.template.entity.UnlockPost;
import com.sxkf.template.service.UnlockPostService;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author 杨玉龙
 * @since 2024-12-03 20:05:24
 */
@RestController
@RequestMapping("/unlockPost")
public class UnlockPostController {
    @Resource
    private UnlockPostService unlockPostService;


    // todo 解锁帖子没写


    @ApiOperation(value = "解锁帖子")
    @PostMapping(value = "/unlock")
    public R<?> unlock(@RequestBody UnlockPost unlockPost){
        return R.success();
    }
}
